package cn.bupt.adt.service;

import java.util.Date;
import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Service;

import cn.bupt.adt.entity.autogenerate.Finance;
import cn.bupt.adt.model.FinanceModel;



@Service
public interface IFinanceService {

	List<FinanceModel> getAllFinance();

	List<FinanceModel> getFinanceByDate(Date startDate, Date ednDate);

	void addFinance(Finance finacne);

	List<FinanceModel> getFinanceByDateAndName(Date startTime, Date endTime, String name);

	void exportFinanceExcel(Date starttimeDate, Date endtimeDate, HttpServletResponse response,String name);


}
